Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.core.work.config--queues

This contribution is part of XML component org.nuxeo.ecm.core.work.config inside nuxeo-core-event-5.8.jar

Extension Point

Extension point queues of component service.

Contributed Items

  • <queue id="default">
          <name>Default queue</name>
          <maxThreads>4</maxThreads>
          <!-- clear completed work instances older than one hour -->
          <clearCompletedAfterSeconds>3600</clearCompletedAfterSeconds>
        </queue>
  • <queue id="fulltextUpdater">
          <name>Fulltext updater queue</name>
          <!-- fulltext updates are single-threaded to avoid concurrent
            writes to the same column -->
          <maxThreads>1</maxThreads>
          <category>fulltextUpdater</category>
          <!-- clear completed work quickly as it contains (potentially large)
            text data -->
          <clearCompletedAfterSeconds>600</clearCompletedAfterSeconds>
        </queue>

XML Source

<extension point="queues" target="org.nuxeo.ecm.core.work.service">
    <queue id="default">
      <name>Default queue</name>
      <maxThreads>4</maxThreads>
      <!-- clear completed work instances older than one hour -->
      <clearCompletedAfterSeconds>3600</clearCompletedAfterSeconds>
    </queue>
    <queue id="fulltextUpdater">
      <name>Fulltext updater queue</name>
      <!-- fulltext updates are single-threaded to avoid concurrent
        writes to the same column -->
      <maxThreads>1</maxThreads>
      <category>fulltextUpdater</category>
      <!-- clear completed work quickly as it contains (potentially large)
        text data -->
      <clearCompletedAfterSeconds>600</clearCompletedAfterSeconds>
    </queue>
  </extension>